qx.Class.define("HersPOS.DateListData",
{
  extend : qx.core.Object,

  members :
  {
    /**
     * TODOC
     *
     * @return {void} 
     */
    fetch_dates : function()
    {
      var url = "http://localhost:8000/HersPOS/default/list_data.json";

      if (this.data == null)
      {
        this.data = new qx.data.store.Json(url);
        this.data.bind("model", this, "list_items");
      }
      else
      {
        this.data.reload();
      }
    }
  },

  properties :
  {
    list_items :
    {
      nullable : true,
      event    : "changed_data"
    }
  }
});